#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

const int N = 1;
const int M = 1e9 + 7;
int x;

int main() {
#ifdef LOCAL
    freopen("in.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
#endif
    ios::sync_with_stdio(false), cin.tie(0);

    cin >> x;
    if (x < 40) cout << 40 - x << endl;
    else if (x < 70) cout << 70 - x << endl;
    else if (x < 90) cout << 90 - x << endl;
    else cout << "expert" << endl;
    return 0;
}